<div class="search">
                    	<div class="search_top">
                        	TÌM KIẾM SẢN PHẨM
                        </div>
                    	<div class="search_between">

                            <form action="<?= _BASE_URL?>index.php?module=search" method="POST" accept-charset="UTF-8">
                        	<div id="search_box">
                            	<select name="s">
                                    <option value="">Tìm toàn bộ</option>
                                    <?php if(!empty($menus)):?>
                                    	<?php foreach($menus as $menu):?>
                                    		<option value="<?= $menu['slug']?>" ><?= mb_convert_case($menu['menu_name'],MB_CASE_TITLE, 'UTF-8')?></option>
                                    	<?php endforeach;?>
                                    <?php endif;?>
                   				</select>
                            </div>
                            <div class="search_tile">
                                <input type="text" placeholder="Nhập từ khoá..." id="q" name="q" class="search_tile_between" />
                                <input type="submit" id="icon_search" />
                            </div>
                            </form>
                        </div>
                        <!--<div class="search_futter"></div>-->
</div><!--End of #search -->

<script type="text/javascript">

    jQuery("#icon_search").click(function(){

        //alert("Clicked!");

        var q = jQuery("#q").val();

        if(q == '' || q.length < 3)
        {
            alert('Từ khoá phải nhiều hơn 3 ký tự.');

            return false;
        }

    })

</script>